Package-level declarations

Properties

Link copied to clipboard

A shape describing a diamond.

Link copied to clipboard

A shape describing a triangle.

Functions

Link copied to clipboard
fun ChartLayout(modifier: Modifier = Modifier, title: @Composable () -> Unit = {}, legend: @Composable () -> Unit = {}, legendLocation: LegendLocation = KoalaPlotTheme.legendLocation, content: @Composable () -> Unit = {})

A ChartLayout is a UI element consisting of a title, legend, and chart content. The legend may be positioned at different locations within the Chart.

Link copied to clipboard
fun Symbol(modifier: Modifier = Modifier, shape: Shape = RectangleShape, size: Dp = KoalaPlotTheme.sizes.symbol, fillBrush: Brush? = null, outlineBrush: Brush? = null, outlineStroke: Stroke = Stroke(), alpha: Float = 1.0f)

Draws a symbol with a specified shape, fill using fillBrush, and outline using outlineBrush and outlineStroke.

fun Symbol(modifier: Modifier = Modifier, shape: Shape = RectangleShape, sizeFraction: Float, fillBrush: Brush? = null, outlineBrush: Brush? = null, outlineStroke: Stroke = Stroke(), alpha: Float = 1.0f)

Draws a Symbol where size is specified as a fraction of the maximum incoming constraint dimension.